package com.bt.lms.ui.action.registration.stu;

import com.bt.lms.ui.page.stu.PageAddStuInfo;
import com.bt.lms.ui.page.common.action.pageenp.ApplyStuLabAction;
import javafx.event.Event;
import javafx.event.EventHandler;
import javafx.scene.layout.Pane;

/**
 * 新增报名学员按钮事件
 */
public class AddApplyStuBtnAction implements EventHandler {



    @Override
    public void handle(Event event) {


        PageAddStuInfo pageAddStuInfo = new PageAddStuInfo();
        Pane pane = ApplyStuLabAction.pageSkipInfo.getPane();
        Integer index = ApplyStuLabAction.pageSkipInfo.getIndex();
        pane.getChildren().set(index,pageAddStuInfo);

    }


}
